<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="dtstag" uri="http://www.datas.com/tag" %>
<%
	String path = request.getContextPath();
	String imgPath = path + "/common/images/new";
	String cssPath = path + "/common/css";
%>
<html>
<head>
<title>主&nbsp;&nbsp;页</title>
<script language="JavaScript" src=""></script>
<style type="text/css">
ul li{
		list-style:none;
		}
.div_left{
		width:100%;
		text-align:left;
		 font-size:14px;
		}
.div_1{
		float:left;
		width:47%;
		margin:5px;
		 font-size:14px;
		}
.table_bor{
		border-bottom:#CCCCCC 1px dashed;
		font-size:14px;
		}

.div_hui{
		color:#CCCCCC;
		 font-size:14px;
		 }
</style>
</head>

<body>





<div align="center" id="bodydiv">
  <table width="100%" border="0" cellpadding="0" cellspacing="10" bgcolor="#f3f2f3">
    <tr>
      <td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center" valign="top">
           <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b3d5d7">
              <tr>
                <td height="26" align="left" background="<%=imgPath%>/fwzcX_25.jpg" class="font14x">
                &nbsp;&nbsp;<img src="<%=imgPath%>/fwzcX_21.jpg" width="13" height="13" />&nbsp;<strong>本月应用系统故障分析</strong></td>
              </tr>
              <tr>
                <td align="left" valign="top" bgcolor="#FFFFFF">
                <div id="chartdiv" align="center" style="margin:10px "> 
			        FusionCharts. </div>
			      <script type="text/javascript">
			      		var dataUrl = "${pageContext.request.contextPath}/reportXml_getColumnXML.action?guid=1";
					   var chart = new FusionCharts("${pageContext.request.contextPath}/common/Charts/Column2D.swf", "ChartId", "750", "300", "0", "0");
					   chart.setDataURL("${pageContext.request.contextPath}/reportXml_getColumnXML.action?guid=3");		   
					   chart.render("chartdiv");
					</script>


				</td>
              </tr>
            </table>
          
          
          
          
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="8"></td>
              </tr>
            </table>
           <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b3d5d7">
            <tr>
              <td height="26" align="left" background="<%=imgPath%>/fwzcX_25.jpg" class="font14x">
              &nbsp;&nbsp;<img src="<%=imgPath%>/fwzcX_21.jpg" width="13" height="13" />&nbsp;<strong>预警信息</strong></td>
            </tr>
            <tr>
              <td align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="8" cellpadding="0">
                  <tr>
                    <td align="center" valign="top">
                    
                    <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#d4dce3" class="x_table">
                      
                       <s:iterator status="entity" value="warningList" var="view1">
                       <tr class="<s:if test="#entity.odd==true">x_td2</s:if><s:else>x_td1</s:else>" 
									onmouseover="javascript:this.className='x_td3'"
									onmouseout="javascript:this.className='<s:if test="#entity.odd==true">x_td2</s:if><s:else>x_td1</s:else>'">
                        <td align="center" height="30" width="50"><div class="x_xuli1">${entity.index+1}</div></td>
                       <td height="26">
                      &nbsp; <dtstag:substr len="80" contents="${view1.warningInfo}" />
                       </td>
                       <td>${view1.warningDate}</td>
                       <td>
                       <a href="viewWarn_warning.action?warningid=${view1.id }"" target="_blank"><img src="<%=imgPath%>/xuli_4.gif" border="0"/>&nbsp;<span>查看</span>
                       </td>
                       </tr>
                       </s:iterator>
                        
                        
                    </table></td>
                  </tr>
              </table></td>
            </tr>
          </table>
            
            </td>
          <td width="10" align="center">&nbsp;</td>
          <td width="240" align="center" valign="top">
          
          
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#42abbd">
              <tr>
                <td align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="28" align="left" background="<%=imgPath%>/fwzcX_26_1.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="center" class="xfont14">新加入的设备</td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td><table width="100%" border="0" cellspacing="8" cellpadding="0">
                          <tr>
                            <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <s:iterator value="devList" status="entity">
                            <tr>
                                  <td height="24" align="left" bgcolor="#F8F8F8" class="x_bor_x">&nbsp;·${devName }</td>
                                </tr>
                            </s:iterator>
                                
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="8"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#42abbd">
              <tr>
                <td align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="28" align="left" background="<%=imgPath%>/fwzcX_26_1.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="center" class="xfont14">新加入的应用</td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td><table width="100%" border="0" cellspacing="8" cellpadding="0">
                          <tr>
                            <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <s:iterator value="appList" status="entity">
                            <tr>
                                  <td height="24" align="left" bgcolor="#F8F8F8" class="x_bor_x">&nbsp;·${appName }</td>
                                </tr>
                            </s:iterator>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                </table></td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="10"></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</div>
</body>
</html>	